package net.zjitc.homework.homework11.jdbc.book;

import java.util.ArrayList;

/**
 * @Author admin
 * @Date 2019/4/30 14:51
 */
public interface BookDao {
    int insert(Book book);

    Book query(String name);

    void select();

    ArrayList selectAll();

    int update(Book book);

    int delete(Book book);

    void exit();
}
